<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="common" uri="/common-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen">
<script type="text/javascript" src="js/jquery-1.6.min.js"></script>
<script type="text/javascript" src="js/survey/table.js"></script>
<script type="text/javascript" src="js/survey/page.js"></script>
</head>

<body>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td height="30" background="images/tab_05.gif">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="12" height="30"><img src="images/tab_03.gif" width="12" height="30" /></td>
						<td>
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="46%" valign="middle">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td width="5%">
													<div align="center">
														<img src="images/tb.gif" width="16" height="16" />
													</div>
												</td>
												<td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[业务中心]-[我的邮件]</td>
											</tr>
										</table>
									</td>
									<td width="54%">
										<table border="0" align="right" cellpadding="0" cellspacing="0">
											<tr>
												<td width="60">
													<table width="87%" border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td class="STYLE1">
																<div align="center">
																	<input type="checkbox" name="checkbox62" value="checkbox" />
																</div>
															</td>
															<td class="STYLE1"><div align="center">全选</div></td>
														</tr>
													</table>
												</td>
												<td width="60">
													<table width="90%" border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td class="STYLE1">
																<div align="center">
																	<img src="images/22.gif" width="14" height="14" />
																</div>
															</td>
															<td class="STYLE1"><div align="center"><a href="findEnterpriseCustomer.do">新增</a></div></td>
														</tr>
													</table>
												</td>
												<td width="60">
													<table width="90%" border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td class="STYLE1">
																<div align="center">
																	<img src="images/33.gif" width="14" height="14" />
																</div>
															</td>
															<td class="STYLE1"><div align="center">修改</div></td>
														</tr>
													</table>
												</td>
												<td width="52">
													<table width="88%" border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td class="STYLE1">
																<div align="center">
																	<img src="images/11.gif" width="14" height="14" />
																</div>
															</td>
															<td class="STYLE1"><div align="center">删除</div></td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
						<td width="16"><img src="images/tab_07.gif" width="16" height="30" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="8" background="images/tab_12.gif">&nbsp;</td>
						<td>
							<s:form action="" id="listForm">
							<s:hidden name="customerVo.id" id="customerVoId"/>
							<s:token/>
							<table cellpadding="0" cellspacing="1" class="tableList">
								<thead>
									<tr>
										<td width="3%">
											<div>序号</div>
										</td>
										<td>
											<div>客户编号</div>
										</td>
										<td>
											<div>客户名称</div>
										</td>
										<td>
											<div>办公地址</div>
										</td>
										<td>
											<div>电话</div>
										</td>
										<td>
											<div>传真</div>
										</td>
										<td>
											<div>邮箱</div>
										</td>
										<td>
											<div>网址</div>
										</td>
										<td>
											<div>公司规模</div>
										</td>
										<td>
											<div>从事行业</div>
										</td>
										<td>
											<div>基本操作</div>
										</td>
									</tr>
								</thead>
								<tbody>
									<s:set name="pageBean" value="customerVo.pageBean"/>
									<s:set name="seq" value="#pageBean.pageSize*(#pageBean.currentPage-1)"/>
									<s:iterator id="vo" value="customerVo.customerVos">
									<s:set name="seq" value="#seq+1"/>
									<tr>
										<td>
											<div align="left"><s:property value="#seq"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.custNo"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.custName"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.officeAddress"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.telphone"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.fax"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.email"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.www"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.companySize"/></div>
										</td>
										<td>
											<div align="left"><s:property value="#vo.industry"/></div>
										</td>
										<td>
											<div align="center">
												<a href="findEnterpriseCustomer.do?customerVo.id=<s:property value="#vo.id"/>">[编辑]</a>
												<a href="javascript:void(0)" onclick="executeMethod('deleteEnterpriseCustomer.do', 'customerVoId', <s:property value="#vo.id"/>, 'listForm');">[删除]</a>
												<a href="javascript:void(0)" onclick="executeMethod('deleteEnterpriseCustomer.do', 'customerVoId', <s:property value="#vo.id"/>, 'listForm');">[组织机构]</a>
											</div>
										</td>
									</tr>
									</s:iterator>
								</tbody>
							</table>
							</s:form>
						</td>
						<td width="8" background="images/tab_15.gif">&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="35" background="images/tab_19.gif">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="12" height="35"><img src="images/tab_18.gif" width="12" height="35" /></td>
						<td>
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td class="STYLE1">&nbsp;&nbsp;共有 <s:property value="customerVo.pageBean.totalSize"/>条记录，当前第 <s:property value="customerVo.pageBean.currentPage"/>/<s:property value="customerVo.pageBean.totalPage"/>页</td>
									<td>
										<s:form action="searchEnterpriseCustomer.do" id="searchEnterpriseCustomerForm">
											<s:hidden name="customerVo.pageBean.currentPage" id="pageBean_currentPage"/>
											<table border="0" align="right" cellpadding="0" cellspacing="0">
												<tr>
													<td width="40"><img src="images/first.gif" width="37" height="15" onclick="first(1,'searchEnterpriseCustomerForm', 'pageBean_currentPage');"/></td>
													<td width="45"><img src="images/back.gif" width="43" height="15" onclick="previousPage(<s:property value="customerVo.pageBean.currentPage"/>,'searchEnterpriseCustomerForm', 'pageBean_currentPage');"/></td>
													<td width="45"><img src="images/next.gif" width="43" height="15" onclick="nextPage(<s:property value="customerVo.pageBean.currentPage"/>,'searchEnterpriseCustomerForm', 'pageBean_currentPage', <s:property value="customerVo.pageBean.totalPage"/>);"/></td>
													<td width="40"><img src="images/last.gif" width="37" height="15" onclick="last(<s:property value="customerVo.pageBean.totalPage"/>,'searchEnterpriseCustomerForm', 'pageBean_currentPage');"/></td>
													<td width="100">
														<div align="center">
															<span class="STYLE1">转到第 <input name="textfield" type="text" size="4" style="height: 12px; width: 20px; border: 1px solid #999999;" /> 页 </span>
														</div>
													</td>
													<td width="40"><img src="images/go.gif" width="37" height="15" /></td>
												</tr>
											</table>
										</s:form>
									</td>
								</tr>
							</table>
						</td>
						<td width="16"><img src="images/tab_20.gif" width="16" height="35" /></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>